﻿<?xml version="1.0" encoding="utf-8"?>
<rules>
    <rule>
      <match field="Description">(?i:Pag\.Trans\.Bancaria)</match>
      <then>
        <change-statement-line field="TransactionType">DirectDeposit</change-statement-line>
      </then>
    </rule>
    <rule>
      <match field="Description">(?i:\bAnuidade\b)</match>
      <then>
        <change-statement-line field="TransactionType">Payment</change-statement-line>
      </then>
    </rule>
    <rule>
      <match field="Description">(?i:\bImposto Selo\b)</match>
      <then>
        <change-statement-line field="TransactionType">Payment</change-statement-line>
      </then>
    </rule>

  <!--SIC 5047-->
  <rule>
    <match field="Description">(?i:^Clinica\b)</match>
    <then>
      <change-statement-line field="SIC">5047</change-statement-line>
    </then>
  </rule>

  <!--SIC 5912-->
  <rule>
    <match field="Description">(?i:\bFarmacia\b)</match>
    <then>
      <change-statement-line field="SIC">5912</change-statement-line>
    </then>
  </rule>

  <!--SIC 8062-->
  <rule>
    <match field="Description">(?i:^Hospital\b)</match>
    <then>
      <change-statement-line field="SIC">8062</change-statement-line>
    </then>
  </rule>

  <!--SIC 6300-->
  <rule>
    <match field="Description">(?i:^Seguradora\b)</match>
    <then>
      <change-statement-line field="SIC">6300</change-statement-line>
    </then>
  </rule>
  <rule>
    <match field="Description">(?i:\bSegurados\b)</match>
    <then>
      <change-statement-line field="SIC">6300</change-statement-line>
    </then>
  </rule>

  <!--SIC 5945-->
  <rule>
    <match field="Description">(?i:\bToys\b)</match>
    <then>
      <change-statement-line field="SIC">5945</change-statement-line>
    </then>
  </rule>

  <!--SIC 5811-->
  <rule>
    <match field="Description">(?i:\bRestaurante\b)</match>
    <then>
      <change-statement-line field="SIC">5811</change-statement-line>
    </then>
  </rule>
  
  <!--SIC 5411-->
  <rule>
    <match field="Description">(?i:^Dia\b)</match>
    <then>
      <change-statement-line field="SIC">5411</change-statement-line>
    </then>
  </rule>
  <rule>
    <match field="Description">(?i:^Lidl\b)</match>
    <then>
      <change-statement-line field="SIC">5411</change-statement-line>
    </then>
  </rule>
  <rule>
    <match field="Description">(?i:^Intermarche\b)</match>
    <then>
      <change-statement-line field="SIC">5411</change-statement-line>
    </then>
  </rule>
  <rule>
    <match field="Description">(?i:^Pingo Doce\b)</match>
    <then>
      <change-statement-line field="SIC">5411</change-statement-line>
    </then>
  </rule>
  <rule>
    <match field="Description">(?i:^Feira Nova\b)</match>
    <then>
      <change-statement-line field="SIC">5411</change-statement-line>
    </then>
  </rule>
  
  <!--SIC 5411-->
  <rule>
    <match field="Description">(?i:^Posto Abastecimento\b)</match>
    <then>
      <change-statement-line field="SIC">5541</change-statement-line>
    </then>
  </rule>

  <!--SIC 5511-->
  <rule>
    <match field="Description">(?i:^R O T O R\b)</match>
    <then>
      <change-statement-line field="SIC">5511</change-statement-line>
    </then>
  </rule>

  <!--SIC 5551-->
  <rule>
    <match field="Description">(?i:\bDecathlon\b)</match>
    <then>
      <change-statement-line field="SIC">5551</change-statement-line>
    </then>
  </rule>

  <!--SIC 7011-->
  <rule>
    <match field="Description">(?i:^\bHotel\b)</match>
    <then>
      <change-statement-line field="SIC">7011</change-statement-line>
    </then>
  </rule>
</rules>